#-*- coding:utf-8 -*-
from django.conf.urls import url
from django.http import HttpResponseRedirect
from myblog.views import qiniu,darkchain,list,detail,keyword_test
from myblog.models import Term,Blog
urlpatterns = [
    
    url(r'^articles/list/(?P<page>\d{0,10})$',list,{'templateName':'articles_list.html','objType':Blog}),
    url(r'^terms/list/(?P<page>\d{0,10})$',list,{'templateName':'terms_list.html','objType':Term}),
    url(r'^article/detail/(?P<id>\d+)/$',detail),
    url(r'^keyword/$',keyword_test),
    url(r'^darkchain/$',darkchain),
    url(r'^qiniu/$',qiniu),
]